<!--
 * @Descripttion:
 * @Author: 张明尧
 * @Date: 2021-01-11 16:35:46
 * @LastEditTime: 2021-01-26 09:20:04
-->
<template>
  <router-view />
</template>

<script type="text/ecmascript-6">
export default {
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {
  },
  created() {
    this.refresh();
  },
  mounted() {
  },
  updated() {
  },
  methods: {
    // 如果退出登录，则需要刷新一次页面,清空上次用户在windows全局的缓存信息
    refresh() {
      if (window._needRefresh) {
        location.reload();
      }
    },
  },
};
</script>

<style rel="stylesheet/less" lang="less" scoped>
</style>
